Fixed deprecation
Put a patch on a meta programming issue in our json helper