formating and valid json - Rev1