Added loop to construct list of shift instances

what even are those words
JSON support

Added rudimentary and probably not working JSON support
Fixed a mistake