remove 'type' from JSON frames

bump protocol version to 5.