more work on text alignment and animation starting the draft of a json generator