Use json_agg if available
Change serializer sql computer properties to an instance method means current_user alias can be used
Refactor code to inline json function calls instead of wrapping in arel nodes