Fix failing tests by importing json.
Ignore built eggs.