play 2.2 json macros backport