Fix the fetch_ia_item script.
Make the script compatible with django management.
Fix file handling and json output.
Merge pull request #1 from lionaneesh/master

Make the fetch_ia_script compatible with django management.