Read stored metadata
reworked optional ags in console
Use sa.Unicode rather than sa.String
better error message when parsing fails