Add debug options
Post data to json