code: private Serializer<?> getSerializerFromClass(Class<?> klass) {
          if(klass == Integer.class) {
              return Serializer.INTEGER;
          }
          else if(klass == Long.class) {
              return Serializer.LONG;
          }
          else if(klass == Boolean.class) {
              return Serializer.BOOLEAN;
          }
          else if(klass == String.class) {
              return Serializer.STRING;
          }
          return null; //Default POJO serializer
      }
docs: Returns the appropriate Serializer (if one exists) else null.
  
  @param klass
  @return