Change format of associations from array to keys

Because `dependents` was not a polymorphic association and needed to be
mapped on the client side to specific "belongs to" and "has many"
relationships, change the response of the JSON to match that format.