allow commands to return individual json elements instead of just json objects