separated json builder into module and application