Fixed errors in jsonapiConnector