moved json mixin to nancy oak class