modify 'as_json' in user model to include associated data