You should return account_json(sub_account), instead of the sub_account directly