support active model serializer 0.9.x
fix: when resource is empty, keep json resource root
Merge pull request #18 from sbounmy/active-model-serializers-0-9-x

support active model serializer 0.9.x