formatting and valid json - Rev1