My question is how to get metadata besides totalRecords, in my case it is version, code, searchquery (please look at json).
{ \"result\": { \"version\":\"1\
Take a look at Ext.data.Proxy class and more specifically processResponse() method. If you need to extract any additional data - you will have to extend standard class and change that method.
Ext.data.Proxy
processResponse()