use correct json parse method signature