code: public static SimpleModule createJacksonModule(boolean serializeLinksAsObjects) {
  		SimpleModule simpleModule = new SimpleModule(JSON_API_JACKSON_MODULE_NAME,
  				new Version(1, 0, 0, null, null, null));
  		simpleModule.addSerializer(new ErrorDataSerializer());
  		simpleModule.addDeserializer(ErrorData.class, new ErrorDataDeserializer());
  		if (serializeLinksAsObjects) {
  			simpleModule.addSerializer(new LinksInformationSerializer());
  		}
  
  		return simpleModule;
  	}
docs: Creates Crnk Jackson module with all required serializers.<br />
  Adds the {@link LinksInformationSerializer} if <code>serializeLinksAsObjects</code> is set to <code>true</code>.
  
  @param serializeLinksAsObjects flag which decides whether the {@link LinksInformationSerializer} should be added as
  additional serializer or not.
  @return {@link com.fasterxml.jackson.databind.Module} with custom serializers