changing record "constructor" in order to have defprotocols there

some magic to make lein aot1 work