adds generator implementation for ghost json creation