Eliminate recursion from read_api.

This will eliminate "RuntimeError: maximum recursion depth".
Merge pull request #20 from mozilla/norecursion

Eliminate recursion from read_api.