Allow json helper to access a custom status code