Fixed rest adapter to JSONAPI using external library.