ActiveModel::Serializers::JSON support arbitrary keys

Just linking the related discussion on issues tracker: https://github.com/rails/rails/issues/6811