fix json creator