rename getmeta, make readoutput internal