added json mixin