getAccountData without protobuf

part of #435 
Makes me want to scream :-) But much cleaner than before. 

Well done!