rest implementaion

changed media type to application_json in the customerResource class