using scala macros for conversion, reduced json to one-liners