refactored json internals to use Reflections2