Implements generic template specialization based json conversion utility