get ready to add JSON support