fixed bug incorrect json keys definition