Separating JsonBuilderHanler into a new class