add common utilities
add APIException and universal JsonDeserializer