implemented initial json parsing (still need to write OPEINING instead
of (