Rewrite feed parser

Should support atom too now but hasn't been tested so far.
Updated semantics of json file