Active model serializer

* Use active_model_serializer to returned expected JSON
* Added ransack for custom search queries against active record models