WP-1249 Fixed JSONRPC message validation

http://jira.webinos.org/browse/WP-1249