anishek/dileep | #2287 | accepting json input